<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="../common.jsp" %>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>index</title>
</head>
<body class="easyui-layout">
	<div data-options="region:'north',border:false" style="height:60px;background:#B3DFDA;padding:1px">
		<div style="float:right;margin:40px 10px 0 auto;font-family:'微软雅黑'">欢迎你，<%=session.getAttribute("currentUser")%>！</div>
	</div>
	<div data-options="region:'west',title:'菜单'" style="width:150px;padding:1px;">
		<ul class="easyui-tree" data-options="animate:true,lines:true" style="margin:5px">			
			<li data-options="state:'closed'">
				<span>员工管理</span>
				<ul>
					<li>
						<div style="cursor:pointer" title="员工管理" 
							onclick="openEmployee(this.title, '<%=basePath%>');">员工管理</div>
					</li>			
					<li>
						<div style="cursor:pointer" title="组织机构" 
							onclick="openOrganization(this.title, '<%=basePath%>');">组织机构</div>
					</li>
				</ul>
			</li>
			<li data-options="state:'closed'">
				<span>办公流程</span>
				<ul>
					<li>
						<div style="cursor:pointer" title="办公流程" 
							onclick="openFlow(this.title, '<%=basePath%>');">办公流程</div>
					</li>
					<li>
						<div style="cursor:pointer" title="自助流程" 
							onclick="openSelfFlow(this.title, '<%=basePath%>');">自助流程</div>
					</li>
				</ul>
			</li>
			<li data-options="state:'closed'">
				<span>Workflow</span>
				<ul>
					<li>
						<div style="cursor:pointer" title="Workflow" 
							onclick="openRunFlow(this.title, '<%=basePath%>');">Workflow</div>
					</li>
					<li>
						C#
					</li>
				</ul>
			</li>
			<li data-options="state:'closed'">
				<span>文件资源</span>
				<ul>
					<li>
						<div style="cursor:pointer" title="文件资源" 
							onclick="openFileResource(this.title, '<%=basePath%>');">文件资源</div>
					</li>
					<li>C++</li>
				</ul>
			</li>
			<li data-options="state:'closed'">
				<span>数据报表</span>
				<ul>
					<li>
						<div style="cursor:pointer" title="数据报表" 
						onclick="openDataReport(this.title, '<%=basePath%>');">数据报表</div>
					</li>
					<li>Objective-C</li>
				</ul>
			</li>
		</ul>
	</div>
	<div data-options="region:'south',border:false" style="height:20px;background:#A9FACD;text-align:center">
		Copyright &copy; 2015 IncTech立维联创. All rights reserved.
	</div>
	<div data-options="region:'center',title:''">
		<div id="tt" class="easyui-tabs" style="width:auto;height:auto;" data-options="fit:true">   
		    <div id="main" title="主页" style="padding:20px;">
		    	<iframe frameborder="0" scrolling="true" src="<%=basePath%>home/main.do"
		    		style="width:100%;height:100%;position:relative;"></iframe>
		    </div>		     
		</div>
	</div>
<script type="text/javascript" src="<%=basePath%>resources/scripts/main.js"></script>
</body>
</html>